<template>
    <el-form-item label="行动引导文案" :prop="`creatives_base.creatives_class.${dataForm.creatives_index}.call_to_action`" :rules="{required: true, message: '请选择', trigger: ['blur', 'change']}">
        <el-select v-model="dataForm.creatives_base.creatives_class[dataForm.creatives_index].call_to_action" placeholder="请选择" @change="sessionSave" style="width:318px">
            <el-option v-for="item in optionList" :key="item.value" :label="item.label" :value="item.value">
            </el-option>
        </el-select>
    </el-form-item>
</template>

<script>
export default {
    props: ["dataForm"],
    components: {},
    name: "",
    data() {
        return {
            optionList:[
                {
                    value:"APPLY_NOW",
                    label:"立即申请"
                },
                {
                    value:"BOOK_NOW",
                    label:"立即预约"
                },
                {
                    value:"ORDER_NOW",
                    label:"立即下单"
                },
                {
                    value:"CONTACT_US",
                    label:"联系我们"
                },
                {
                    value:"EXPERIENCE_NOW",
                    label:"立即体验"
                },
                {
                    value:"GET_QUOTE",
                    label:"查看价格"
                },
                {
                    value:"INTERESTED",
                    label:"感兴趣"
                },
                {
                    value:"LEARN_MORE",
                    label:"查看详情"
                },
                {
                    value:"PREORDER_NOW",
                    label:"立即预定"
                },
                {
                    value:"SHOP_NOW",
                    label:"去逛逛"
                },
                {
                    value:"VIEW_NOW",
                    label:"立即查看"
                },
                {
                    value:"VISIT_STORE",
                    label:"去附近商店看看"
                },
                {
                    value:"WATCH_NOW",
                    label:"立即观看"
                },
                {
                    value:"WATCH_LIVE",
                    label:"观看直播（仅在直播广告中可用）"
                },
            ]
        };
    },
    created() {},
    methods: {
        sessionSave(){
            this.$emit("sessionSave")
        }
    },
};
</script>


<style scoped>
/deep/ .tk_radio_group .el-radio{
    margin-right: 0;
    padding: 12px;
    height: auto;
    width: 250px;
    white-space: normal;
}
/deep/ .tk_radio_group .el-radio .el-radio__input{
    display: none;
}
/deep/ .tk_radio_group .el-radio .el-radio__label{
    padding-left: 0;
}
.radio_text1{
    line-height: 20px;
    font-size: 14px;
}
.radio_text2{
    font-size: 12px;
    color: #B4B7BD;
    line-height: 20px;
    margin-top: 4px;
}
</style>

